@font-face {
    font-family: "uplan";
    src: url('../fonts/iconfont.eot?t=1462759648');
    /* IE9*/
    src: url('../fonts/iconfont.eot?t=1462759648#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/iconfont.woff?t=1462759648') format('woff'), /* chrome, firefox */
    url('../fonts/iconfont.ttf?t=1462759648') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
    url('../fonts/iconfont.svg?t=1462759648#iconfont') format('svg');
    /* iOS 4.1- */
}

[class^="icon-u-"]:before,
[class*=" icon-u-"]:before {
    font-family: "uplan";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.wrapper {
    padding: 50px 350px 0 240px;
    position: relative;
    height: 100%;
}

.editor {
    height: 100%;
    position: relative;
    width: 100%;
    overflow: auto;
}

.header {
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    background: #0085a1;
    color: #fff;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    .logo {
        position: absolute;
        left: 15px;
        top: 0;
        img {
            vertical-align: middle;
        }
    }
    .header_body {
        text-align: center;
    }
    .header_right {
        position: absolute;
        right: 0;
        top: 0;
        >li {
            float: left;
            min-width: 70px;
            height: 50px;
            >a {
                color: #fff;
                text-decoration: none;
                display: block;
                height: 100%;
                background: #017c96;
                text-align: center;
                &:hover {
                    background: #007088;
                }
            }
        }
    }
}

.tool {
    width: 45px;
    height: 100%;
    position: absolute;
    right: 305px;
    top: 50px;
    border-right: 1px solid #ddd;
    background: #e2e2e2;
    li {
        height: 42px;
        text-align: center;
        line-height: 42px;
        color: #7f7f7f;
        border-bottom: 1px solid #fff;
        cursor: pointer;
        i {
            font-size: 16px;
        }
        &:hover {
            background: #c4c4c4;
        }
    }
}

.attr {
    position: absolute;
    right: 0;
    top: 50px;
    width: 305px;
    height: 100%;
    background: #f4f4f4;
    input[type="text"],
    select {
        float: left;
        width: 200px;
        height: 31px;
        padding: 6px 12px;
        font-size: 12px;
        line-height: 1.42857143;
        color: #777;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }
    .attr_nav {
        border-bottom: 1px solid #ddd;
        height: 50px;
        a {
            float: left;
            width: 50%;
            line-height: 40px;
            height: 40px;
            text-align: center;
            font-size: 14px;
            color: #666;
            text-decoration: none;
            &.active {
                background: #646464;
                color: #fff;
            }
        }
    }
    .attr ul {
        padding: 0 10px;
        background: #fff;
        overflow: hidden;
        >li {
            padding: 20px 0;
            float: left;
            width: 100%;
            border-bottom: 1px solid #ddd;
            >label {
                width: 5em;
                float: left;
                padding-top: 7px;
                font-weight: bold;
                color: #777777;
            }
            >div {
                float: left;
                position: relative;
                >var {
                    font-style: normal;
                    position: absolute;
                    left: 0;
                    top: 30px;
                    width: 100%;
                    text-align: center;
                    color: #cdcdcd;
                }
            }
        }
    }
    .styleAttr {
        height: 100%;
        padding-bottom: 100px;
        ul {
            display: none;
        }
    }
}

.fodder {
    position: absolute;
    left: 0;
    top: 50px;
    width: 240px;
    background: #f4f4f4;
    overflow: hidden;
    height: 100%;
}

.fodder_nav {
    width: 50px;
    float: left;
    border: 1px solid #ccc;
    height: 100%;
    li {
        height: 50px;
        cursor: pointer;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
        &:hover,
        &.active {
            background: #e8e8e8;
            color: #0085a1;
        }
        i {
            display: block;
        }
    }
}

.fodder_body {
    width: 190px;
    float: left;
    border: 1px solid #ccc;
    border-left: 0;
    border-bottom: 0;
    height: 100%;
    overflow: hidden;
    padding-bottom: 50px;
    ul {
        display: none;
    }
    .shape {
        overflow: hidden;
        display: block;
        li {
            width: 50%;
            height: 95px;
            text-align: center;
            line-height: 95px;
            float: left;
            color: #0085a1;
            border-bottom: 1px solid #ddd;
            &:nth-child(2n+1) {
                border-right: 1px solid #ddd;
            }
            &:hover {
                background: #e8e8e8;
            }
           img {
                width: 60%;
                vertical-align: middle;
            }
           i {
                font-size: 60px;
            }
        }
    }
}

.up-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

.rightMenu {
    width: 150px;
    list-style: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 0;
    position: fixed;
    display: none;
    z-index: 99;
    li {
        height: 40px;
        border-bottom: 1px solid #eee;
        display:none;
        a,
        a:hover {
            display: block;
            height: 100%;
            line-height: 40px;
            text-align: center;
            color: #666;
            text-decoration: none;
        }
    }
}

#dragImg {
    position: fixed;
    width: 50px;
    height: 50px;
    background: #ccc;
    margin-left: -25px;
    margin-top: -25px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    overflow: hidden;
    display: none;
    z-index: 999;
    opacity: .5;
    pointer-events: none;
    img {
        width: 25px;
    }
}

.pop {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 300px;
    width: 800px;
    margin-left: -400px;
    margin-top: -150px;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, .2);
    padding: 50px 20px 20px;
    border-radius: 5px;
    display: none;
    >h3 {
        position: absolute;
        left: 0;
        height: 50px;
        width: 100%;
        padding: 0 20px;
        top: 0;
        line-height: 50px;
        font-size: 16px;
        font-weight: bold;
        a {
            float: right;
            font-size: 20px;
            color: #666;
            text-decoration: none;
            cursor: pointer;
        }
    }
}

.pop textarea {
    width: 100%;
    height: 100%;
    padding: 10px;
    display: block;
}

.pop>div {
    height: 100%;
    overflow: auto;
    text-align: center;
}

.pop>div>img {
    max-width: 100%;
    border: 1px solid #ddd;
}



.popSet {
    width: 550px;
    margin-left: -275px;
}

.popSet>div>div {
    overflow: hidden;
    margin-bottom: 15px;
}

.popSet label {
    float: left;
    width: 10em;
    line-height: 32px;
    font-weight: bold;
}

.popSet input[type='text'] {
    float: left;
    width: 360px;
    height: 31px;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #777;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.popSet input[type='checkbox'] {
    margin-left: 1em;
    margin-top: 10px;
}



.loadJSON input {
    display: none;
}

.loadJSON {
    text-align: center;
    display: block;
    background: #017c96;
}
